package com.ly.heart.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ly.common.core.domain.BaseVo;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 金蝶-基础-联系人对象 erp_king_base_contacts
 * @author cxl
 * @date 2024-07-01
 */
@TableName ( "erp_king_base_contacts" )
@ApiModel ( value = "金蝶-基础-联系人", description = "金蝶-基础-联系人" )
@Data
public class KingBaseContactsEntity extends BaseVo {

    @TableId ( type = IdType.INPUT )
    private String id;

    @ApiModelProperty ( "联系人编码" )
    @TableField ( "contacts_code" )
    @Excel ( name = "联系人编码" )
    private String contactsCode;

    @ApiModelProperty ( "姓名" )
    @TableField ( "name" )
    @Excel ( name = "姓名" )
    private String name;

    @ApiModelProperty ( "性别(0男 1女 2未知)" )
    @TableField ( "sex" )
    @Excel ( name = "性别(0男 1女 2未知)" )
    private String sex;

    @ApiModelProperty ( "职务" )
    @TableField ( "position" )
    @Excel ( name = "职务" )
    private String position;

    @ApiModelProperty ( "固定电话" )
    @TableField ( "work_tel" )
    @Excel ( name = "固定电话" )
    private String workTel;

    @ApiModelProperty ( "类型(供应商0  客户1)" )
    @TableField ( "type" )
    @Excel ( name = "类型(供应商0  客户1)" )
    private String type;

    @ApiModelProperty ( "所属公司" )
    @TableField ( "belong_company" )
    @Excel ( name = "所属公司" )
    private String belongCompany;

    @ApiModelProperty ( "移动电话" )
    @TableField ( "mobile" )
    @Excel ( name = "移动电话" )
    private String mobile;

    @ApiModelProperty ( "邮件地址" )
    @TableField ( "email" )
    @Excel ( name = "邮件地址" )
    private String email;

    @ApiModelProperty ( "传真" )
    @TableField ( "fax" )
    @Excel ( name = "传真" )
    private String fax;

    @ApiModelProperty ( "地点编码" )
    @TableField ( "address_code" )
    @Excel ( name = "地点编码" )
    private String addressCode;

    @ApiModelProperty ( "地点名称" )
    @TableField ( "address_name" )
    @Excel ( name = "地点名称" )
    private String addressName;

    @ApiModelProperty ( "详细地址" )
    @TableField ( "address" )
    @Excel ( name = "详细地址" )
    private String address;

    @ApiModelProperty ( "创建人Id" )
    @TableField ( "user_id" )
    @Excel ( name = "创建人Id" )
    private String userId;

    @ApiModelProperty ( "创建时间" )
    @JsonFormat ( pattern = "yyyy-MM-dd HH:mm:ss" )
    @TableField ( "create_time" )
    private Date createTime;

    @ApiModelProperty ( "更新时间" )
    @TableField ( "change_time" )
    @JsonFormat ( pattern = "yyyy-MM-dd HH:mm:ss" )
    private Date changeTime;

    @ApiModelProperty ( "逻辑删除" )
    @TableField ( "is_disabled" )
    @Excel ( name = "逻辑删除" )
    private Integer isDisabled;

    @ApiModelProperty ( "逻辑删除" )
    @TableField ( "is_used" )
    @Excel ( name = "逻辑删除" )
    private Integer isUsed;

    @ApiModelProperty ( "修改人" )
    @TableField ( "update_by" )
    @Excel ( name = "修改人" )
    private String updateBy;

    @ApiModelProperty ("是否可用")
    @TableField ("is_del")
    @Excel (name = "是否可用")
    private Integer isDel;

    @ApiModelProperty ( "是否发送；1：是；2：否" )
    @TableField ( "is_send" )
    @Excel ( name = "是否禁用" )
    private Integer isSend;


}
